package com.spring.shops.service;

import com.spring.shops.model.entity.TzTransport;
import com.spring.shops.model.result.ServerResponseEntityVoid;
import com.spring.shops.model.vo.TransportVO2;
import com.spring.shops.model.vo.TransportVo;

import java.util.List;

public interface TransportService {

    public TransportVo selectTransportsPage(int start ,int size ,String transName);

    public int deletedByTzTransportId(Long transportId);

    public int updateTzTransport(TzTransport record);

    public int insertTzTransport(TzTransport record);

    public TzTransport selectById(Long id);

    ServerResponseEntityVoid<List<TransportVO2>> list();

    ServerResponseEntityVoid<TransportVO2> getInfoById(Long id);
}
